package com.wisezone.java1902.d12_conections;

import java.util.LinkedList;

public class TestLinkedList {

	public static void main(String[] args) {
		//LinkedList ArrayList
		LinkedList<String> lists = new LinkedList<String>();
		lists.add("元素一");
		lists.add("元素二");
		lists.add("元素三");

		for (int i = 0; i <lists.size(); i++) {
			String item = lists.get(i);
			System.out.println("item = "+item);			
		}
		
		
	}

}
